package com.xinruke.hostels.reservation.interfaces.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName YudingDingdanZixiangVO
 * @CreateDate 2019/7/23
 * @Author FengXinQiang
 * @Version V1.0.0.0
 * @Decription 预订订单子项VO
 */
@ApiModel("预订订单子项VO")
@Data
public class YudingDingdanZixiangVO {
    @ApiModelProperty(value = "子项编号")
    private Integer id;

    @ApiModelProperty(value = "订单号")
    private String dingdanhao;

    @ApiModelProperty(value = "订单id")
    private Integer dingdanId;

    @ApiModelProperty(value = "酒店id")
    private Integer jiudianId;

    @ApiModelProperty(value = "房型id")
    private Integer fangxingId;

    @ApiModelProperty(value = "房间id")
    private Integer fangjianId;

    @ApiModelProperty(value = "房间号")
    private String fangjianhao;

    @ApiModelProperty(value = "门店价")
    private BigDecimal mendianjia;

    @ApiModelProperty(value = "优惠价")
    private BigDecimal youhuijia;

    @ApiModelProperty(value = "数量")
    private Integer shuliang;

    @ApiModelProperty(value = "预订姓名")
    private String yudingxingming;

    @ApiModelProperty(value = "证件类型: 1身份证，2军官证")
    private Byte yudingrenzhengjianleixing;

    @ApiModelProperty(value = "预订人证件号")
    private String yudingrenzhengjianhao;

    @ApiModelProperty(value = "入住性质:1因公；2因私")
    private Byte ruzhuxingzhi;

    @ApiModelProperty(value = "联系电话")
    private String lianxidianhua;

    @ApiModelProperty(value = "入住时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ruzhushijian;

    @ApiModelProperty(value = "离开时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date likaishijian;

    @ApiModelProperty(value = "房型名称")
    private String fangxingmingcheng;

    @ApiModelProperty(value = "房型缩略图")
    private String suoluetu;
}
